package homework.demo02;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */


/**
 * @author 2010404122王思毅  2010404112黄敬
 * @author Administrator
 * @author dell
 */
 public class Arraylist {

    private String name;
    private String phone;
    private String email;

    public String getname() {
        return name;
    }

    public String getphone() {
        return phone;
    }

    public String getemail() {
        return email;
    }

    public void setname(String  name) {
        this.name = name;
    }

    public void setemail(String email) {
        this.email = email;
    }

    public void setphone(String phone) {
        this.phone = phone;
    }
}


class people1 extends Arraylist {

    public static void main(String[] args) {
        people1 euro = new people1();
        euro.setname("紫云");
        euro.setemail("82525");
        euro.setphone("4646464");
        System.out.println("名字是:" + euro.getname());
        System.out.println("邮箱是:" + euro.getemail());
        System.out.println("电话是:" + euro.getphone());



    }
}
class people2 extends Arraylist {

    public static void main(String[] args) {
        people2 euro = new people2();
        euro.setname("哈几个");
        euro.setemail("79844");
        euro.setphone("13467955");
        System.out.println("名字是:" + euro.getname());
        System.out.println("邮箱是:" + euro.getemail());
        System.out.println("电话是:" + euro.getphone());



    }
}
class people3 extends Arraylist {

    public static void main(String[] args) {
        people3 euro = new people3();
        euro.setname("尼欧");
        euro.setemail("45440000");
        euro.setphone("110");
        System.out.println("名字是:" + euro.getname());
        System.out.println("邮箱是:" + euro.getemail());
        System.out.println("电话是:" + euro.getphone());



    }
}
